/**
 *
 */
package com.dhcc.frame.collection;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;


/**
 * @author 谢进军
 *
 */
public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ExecutorService executor = Executors.newFixedThreadPool(5);
		for(int i = 0; i<25; i++) {
		 String message = "Execution " + i;
		 executor.execute(new SampleTask(message));
		}
	}

}
